﻿using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Finance.Banks.Repository
{
    public interface IBankAccountRepository : IRepository<BankAccount, Guid>
    {
        Task<int> GetCountAsync(string keyword , string number , string name , Guid? excludeId , CancellationToken cancellationToken = default(CancellationToken));

        Task<List<BankAccount>> GetPagedListAsync(string keyword, string number, string name, int maxResultCount, int skipCount, string sorting, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<BankAccount>> GetListAsync(string keyword, string number, string name, CancellationToken cancellationToken = default(CancellationToken));
    }
}
